package com.ruoyi.project.ins.service;

import com.ruoyi.project.ins.domain.InsPromotion;

import java.util.List;
import java.util.Map;

public interface IInsPromotionService {
    List<InsPromotion> selectInsPromotionList(InsPromotion insPromotion);

    String importAccount(List<InsPromotion> registerList, String operateName);

    int insertInsPromotion(InsPromotion insPromotion);

    int updateInsPromotion(InsPromotion insPromotion);

    InsPromotion selectAccountById(Long id);

    int deleteByIds(Long[] deleteIds);

    InsPromotion selectByUserId(String emailAccount);

    List<InsPromotion> selectByIds(Long[] ids);

    List<InsPromotion> selectNoPushedUser();

    int updatePromotionUserStatus(String status, String receiveUserid);

    void batchUpdatePromotions(List<InsPromotion> promotionList);

    Map<String, Object> selectSumPromotion(InsPromotion insPromotion);
}
